package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysClass;
import cn.iot.sys.entity.SysStudent;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface SysStudentService {
    public ResultMsg getSysStudentList(Map<String,Object> map);
    public ResultMsg addStudent(MultipartFile file,Map<String,Object> map);
    public ResultMsg getSysStudentById(int id);
    public ResultMsg getSysStudentByStuName(String studentName);
    public ResultMsg updSysStudentById(MultipartFile file,Map<String,Object> map);
    public ResultMsg updHostelIdByStuId(Map<String,Object> map);
    public ResultMsg delById(Map<String,Object> map);
    public ResultMsg uploadStudentInfo(MultipartFile file);
    public ResultMsg deriveStuInfo();
    public ResultMsg getStudentAll();
    public ResultMsg getStuListByClassId(int classId);
    public ResultMsg uploadStudentPicture(MultipartFile file);
    public ResultMsg uploadPhoto(Map<String,Object> map);

}
